package com.health.pojo.query;

import lombok.Data;
import lombok.AllArgsConstructor;
import jakarta.validation.constraints.NotNull;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 医疗记录查询入参实体类
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MedicalRecordQuery {

    /**
     * 用户id:用户ID，必填
     */
    @NotNull(groups = { QueryGroup.class }, message = "用户id不能为空")
    @Schema(description = "用户id:用户ID，必填")
    private Integer userId;

    /**
     * 医疗记录id:医疗记录ID，选填
     */
    @Schema(description = "医疗记录id:医疗记录ID，选填")
    private Integer medicalId;
}
